<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/statics/未压缩版.js}" type="text/javascript"></script>
    <script th:src="@{/statics/js/employee.js}" type="text/javascript"></script>
    <link th:href="@{/statics/css/index.css}" type="text/css" rel="stylesheet">

    <link th:href="@{/statics/layui-v2.7.6/layui/css/layui.css}" type="text/css" rel="stylesheet">
    <script th:src="@{/statics/layui-v2.7.6/layui/layui.js}" type="text/javascript"></script>

    <style>
        .t1{
            border: 1px solid #1e9fff;
            padding: 10px;
            background: #CFDFF5;
            margin-bottom: 10px;
        }
        div{
            color: #1e9fff;
        }
        .search{
            border: 1px solid #CED3DA;
            background-color: #F5F7FA;
            height: 520px;
            line-height: 50px;
            margin-left: 10px;
            margin-top: 10px;
            margin-bottom: 10px;
            padding-left: 10px;
        }
        .s1{
            margin-bottom: 15px;
        }
    </style>
</head>
<body>
<div class="t1"> &nbsp;&nbsp;&nbsp;&nbsp; 当前位置:员工管理 > 添加员工</div>
<div class="add" th:object="${employee}">
    <form  th:action="@{/employee/add}"method="post" class="search">
        <div class="s1">
            <div>
                &nbsp;&nbsp;&nbsp;姓名：<input type="text" name="name" id="name">&nbsp;&nbsp;&nbsp;
                身份证号码：<input type="text" name="cardId">
                <p><span id="tishi"></span></p>
            </div>

            <div>
                &nbsp;&nbsp;&nbsp;性别：<select name="sex">
                <option value="0">-----请选择性别-----</option>
                <option  value="1">男</option>
                <option  value="2">女</option>
            </select>&nbsp;&nbsp;&nbsp;
                职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：<select name="jobId">
                <option th:selected="${jobId==0}" value="0">---请选择职位---</option>
                <option th:each="job12:${job12}" th:selected="${jobId==job12.id}" th:value="${job12.id}" th:text="${job12.NAME}"></option>
            </select>
            </div>
            <div>
                &nbsp;&nbsp;&nbsp;学历：<input type="text" name="education">&nbsp;&nbsp;&nbsp;
                邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱：<input type="text" name="email">
            </div>
            <div>
                &nbsp;&nbsp;&nbsp;手机：<input type="text" name="phone">&nbsp;&nbsp;&nbsp;
                电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：<input type="text" name="tel">
            </div>
        </div>

        <div class="s2">
            <div>
                政治面貌：<input type="text" name="party">&nbsp;&nbsp;&nbsp;
                QQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号码：<input type="text" name="qqNum">
            </div>
            <div>
                联系地址：<input type="text" name="address">&nbsp;&nbsp;&nbsp;
                邮政&nbsp;编码：<input type="text" name="postCode">
            </div>
            <div>
                出生日期：<input type="text" name="birthday">&nbsp;&nbsp;&nbsp;
                民&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;族：<input type="text" name="race">
            </div>
            <div>
                所学专业：<input type="text" name="speciality">&nbsp;&nbsp;&nbsp;
                爱&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;好：<input type="text" name="hobby">
            </div>
            <div>
                备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：<input type="text" name="remak">&nbsp;&nbsp;&nbsp;
                所属部门：<select name="deptId">
                <option th:selected="${deptId==0}" value="0">---请选择职位---</option>
                <option th:each="dept12:${dept12}" th:selected="${deptId==dept12.id}" th:value="${dept12.id}" th:text="${dept12.NAME}"></option>
            </select>>
            </div>
        </div>
        <div>
            <input type="submit" value="添加">&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" value="取消">
        </div>
    </form>
</div>

</body>
</html>